package com.web.music.model;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Genre implements PersistentObject {

	@Id
	private Long id;
	
	private String name;

	public String getName(){
		return name;
	}

	public void setName(String name ){
		this.name = name;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
}
